package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2021-11-21 16:39
*/
 

@Data
@TableName(value = "t_dd_log")
@Accessors(chain = true)
public class TDdLog {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 会员id
     */
    @TableField(value = "m_id")
    private Long mId;

    /**
     * 描述
     */
    @TableField(value = "tips")
    private String tips;

    /**
     * 豆豆
     */
    @TableField(value = "dd")
    private Long dd;

    /**
     * 0支出 1收入
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 交易流水
     */
    @TableField(value = "trade_no")
    private String tradeNo;

    /**
     * 日期
     */
    @TableField(value = "day")
    private LocalDate day;

    @TableField(value = "add_time")
    private Date addTime;
}